

import axios from '../utils/requset'

export const doFinishRegisterAPI = (data: RegParamsRaw, option = {}) => axios.post("/user/dofinishregister", data, { ...option })
export const doCheckPhoneAPI = (data = {}, option = {}) => axios.post("/user/docheckphone", data, { ...option })
export const doSendMsgCodeAPI = (data = {}, option = {}) => axios.post("/user/dosendmsgcode", data, { ...option })
export const doCheckCodeAPI = (data = {}, option = {}) => axios.post("/user/docheckcode", data, { ...option })
export const doLoginAPI = (data={}, option = {}) => axios.post("/user/login", data, { ...option })
